#include <stdio.h>
#include <stdlib.h>
typedef unsigned char* byte_pointer;
float sum_element(float a[],unsigned length);
void show_bytes(byte_pointer start ,int len);
void show_int(int x);
void show_float(float x);
void show_pointer(void* x);
int main()
{
 
    int val=5213;
int flag=0;
	
    float fval=val;
	
printf("int型:%d\n",val);
    show_int(val);
printf("float型:%f\n",fval);
    show_float(fval);


    return 0;
}
void show_bytes(byte_pointer start ,int len)
{
    int i;
    for(i=0;i<len;i++)
    {
        printf(" %.2x",start[i]);
    }
    printf("\n");
}
void show_int(int x){
    show_bytes((byte_pointer)&x,sizeof(int));
}
void show_float(float x){
    show_bytes((byte_pointer)&x,sizeof(float));
}
void show_pointer(void* x){
    show_bytes((byte_pointer)&x,sizeof(4));
}
void show_byte_int(int in)
{
	char*ch=(byte_pointer)in;
	

